package com.night.administration.service;

import com.night.administration.excepyion.AreaConflictException;
import com.night.administration.excepyion.TeacherTimeConflictException;
import com.night.common.entity.administration.Test;
import com.night.common.entity.logistical.Area;

import java.util.List;

/**
 * @ClassName: TestService
 * @Description: //TODO
 * @author: LZJ
 * @date: 2022/10/19-22:15
 * @version: v1.0
 */
public interface TestService {
    void insert(Test test) throws AreaConflictException, TeacherTimeConflictException;

    void update(Test test);

    void deleted(int id);

    List<Test> getByCondition(Test test);

    List<Test> getTestByTeacherId(int teacherId);
}
